package com.sumainfor.pc.dev.fallback.Zfallback;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.dev.feign.Zfeign.ZzuulFeign;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 调用网关服务
 * <p>
 *
 * @author: zhoucong
 * @create: 2019-05-08 15:38
 **/
@Component
public class ZzuulFallback implements ZzuulFeign {

    @Override
    public JsonResult getDeptList(){
        return JsonResult.error("服务器繁忙...");
    }
}
